---
layout: "default"
title: "UnicodeDecodingResult"
description: "Swift documentation for 'UnicodeDecodingResult': The result of one Unicode decoding step."
keywords: "UnicodeDecodingResult,enum,swift,documentation,isEmptyInput"
root: "/v2.2"
---

<div class="intro-declaration"><code class="language-swift">enum UnicodeDecodingResult</code></div>

<div class="discussion comment">
    <p>The result of one Unicode decoding step.</p>

<p>A unicode scalar value, an indication that no more unicode scalars
are available, or an indication of a decoding error.</p>
</div>

<table class="standard">



<tr>
<th>Import</th>
<td><code class="language-swift">import Swift</code></td>
</tr>

</table>

<h3 id="cases">Cases</h3>
<div class="declaration" id="case-Result">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Result">case Result(UnicodeScalar)</a>
</div>
<div class="declaration" id="case-EmptyInput">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-EmptyInput">case EmptyInput</a>
</div>
<div class="declaration" id="case-Error">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-Error">case Error</a>
</div>






<h3>Instance Methods</h3>
<div class="declaration" id="func-isemptyinput">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-isemptyinput">func isEmptyInput()</a>
        
<div class="comment collapse" id="comment-func-isemptyinput"><div class="p">
    <p>Returns <code>true</code> if <code>self</code> indicates no more unicode scalars are
available.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func isEmptyInput() -&gt; Bool</code>
    
    
</div></div>
</div>


